package ltd.smallwang.infrastructure.task.db.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author justd
 * @description 功能描述
 * @since 2024-06-03 23:27
 **/
@Data
@TableName("task_category")
public class TaskCategoryPo {
  @TableId(type = IdType.AUTO)
  private Long id;

  private String name;

  private String color;

  private Long userId;

  @TableField(fill = FieldFill.INSERT)
  private LocalDateTime createTime;

  @TableField(fill = FieldFill.INSERT_UPDATE)
  private LocalDateTime modifyTime;
}
